package demoOne.server;

import javax.xml.ws.Endpoint;

/**
 * Created by IntelliJ IDEA.
 * User: jinshengyuan
 * Date: 2019-03-13
 * Time: 10:20
 * description: 发布服务
 * 访问地址： http://127.0.0.1:8888/JaxWSTest?wsdl
 **/
public class JAXWSPublishMain {
    public static void main(String[] args) {
        String address = "http://127.0.0.1:8888/JaxWSTest";
        Endpoint.publish(address, new JaxWsDemoImpl());
        System.out.println("WebService 服务已发布！");
    }
}